home *** CD-ROM | disk | FTP | other *** search
/ Red Eye Press Kit / Red Eye Press Kit.iso / pc / main.dxr / SCRIPTS_45_enlargeImage.ls < prev    next >
Encoding:
Text File  |  2005-07-18  |  462 b   |  23 lines

  1. property xLib, bigList
  2. global previewImage
  3.  
  4. on beginSprite me
  5.   xLib = "ENLARGE"
  6.   bigList = []
  7.   repeat with x = 1 to the number of castMembers of castLib xLib
  8.     bigList.add(member(x, xLib).name)
  9.   end repeat
  10. end
  11.  
  12. on mouseWithin me
  13.   if previewImage <> VOID then
  14.     sendAllSprites(#updatePreview, previewImage, "ENLARGE")
  15.   end if
  16. end
  17.  
  18. on mouseLeave me
  19.   if previewImage <> VOID then
  20.     sendAllSprites(#updatePreview, previewImage, "PREVIEWS")
  21.   end if
  22. end
  23.